namespace ContactsSync.WinUX
{
    using System.Windows;
    using Microsoft.Practices.Composite.Modularity;
    using Microsoft.Practices.Composite.UnityExtensions;

    public class Bootstrapper : UnityBootstrapper 
    {
        protected override IModuleCatalog GetModuleCatalog()
        {
            IModuleCatalog catalog = new DirectoryModuleCatalog { ModulePath = @".\Modules" };
            return catalog;
        }

        protected override DependencyObject CreateShell()
        {
            Shell shell = new Shell();

            shell.Show();

            return shell;
        }
    }
}